﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Clipping.Infrastructure.Models;

namespace Clipping.Utils
{
    public interface ISearchEngine
    {
        string Name { get; }
        Encoding ContentEncoding { get; }
        
        void Parse(Uri url, string html, out List<News> news, out string nextPageUrl);
        Uri ConstructUrl(SearchObject searchObj);


        //void Search(SearchObject searchObj, IHtmlDownload downloader, out List<News> news, out string nextPageUrl);
    }
}
